iMacrosControlSetVariable Method

iMacros Component
Sets a built-in (!VARn) or user-defined variable to be used in the next Play(String) call.

Namespace:  iMacros.Component
Assembly:  iMacros.Component (in iMacros.Component.dll) Version: 12.0.501.6698
Syntax

public void SetVariable(
	string varName,
	string varValue
)

Parameters

varName
Type: SystemString
The variable name, e.g. "!VAR5", or "myLoop"
varValue
Type: SystemString
The variable value
See Also

Reference